<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'add.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>


<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/event.css">
  </head>
  
  <body>
   <form action="add.do" method="post"> 
   <div id="d">
   <input type="hidden" name="eventId" value="${event.eventId}">
   <div class="d1"><span>*</span>事件名称<input type="text" name="eventName" value="${event.eventName}"></div>
   <div class="d1"><span>*</span>事件地点<input type="text" name="eventAddress" value="${event.eventAddress}"></div>
   <input type="hidden" name="term" value="${param.term}">
   <div class="d1"><span>*</span>执行状态
   
   <select name="eventState" value="${event.eventState}">
  <option value ="0">未执行</option>
  <option value ="1">正在执行</option>
  <option value="2">已完成</option>
</select>
</div>
   </div>
   <c:if test="${param.term!=1}"> <input id="btn2" class="btn btn-primary" type="submit" value="保存"></c:if>
   </form>
  </body>
</html>
